#pragma once
#include <fstream>
#include <iostream>
#include <string>
#include <vector>

class SmartCar {
public:
    std::string id;
    std::string chassisId;
    std::string chassisModel;
    int wheelBase;
    int trackWidth;
    int groundClearance;
    float turningRadius;
    std::string driveType;
    std::string maxRange;
    int tireCount;
    std::string tireModel;
    int tireSize;
    int agxCount;
    std::string agxModel;
    std::string aiPerformance;
    int cudaCores;
    int tensorCores;
    int gpuMemorySize;
    int memorySize;
    int cameraCount;
    std::string cameraModel;
    std::string cameraType;
    int resolutionWidth;
    int resolutionHeight;
    int rgbFrameRate;
    int fovWidth;
    int fovHeight;
    int depthFrameRate;
    int lidarCount;
    std::string lidarModel;
    int lidarChannelCount;
    float lidarRange;
    float powerConsumption;
    int gyroscopeCount;
    std::string gyroscopeModel;
    std::string gyroscopeVendor;
    int displayCount;
    std::string displaySize;
    std::string displayModel;
    int batteryCount;
    std::string batteryParams;
    float supplyVoltage;
    float chargingTime;
    std::string stuName;  //学生姓名
    std::string stuId;    //学号

    SmartCar();
    void assignStudent(const std::string& student_id, const std::string& student_name);
};
